projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d99ef7
)
HC: switch border color
author
Jakub Steiner
<jimmac@gmail.com>
Thu, 7 Jan 2021 11:44:53 +0000
(12:44 +0100)
committer
Jakub Steiner
<jimmac@gmail.com>
Thu, 7 Jan 2021 11:44:53 +0000
(12:44 +0100)
- lighten inverted HC borders while darkening the regular/light variant
Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/3460
gtk/theme/HighContrast/_colors-hc.scss
patch
|
blob
|
history
diff --git
a/gtk/theme/HighContrast/_colors-hc.scss
b/gtk/theme/HighContrast/_colors-hc.scss
index b91e12ca3897e20450336598d09cda61e8d07e14..f1535a64cf5908073d6c19dbb7ce7d67399b8eda 100644
(file)
--- a/
gtk/theme/HighContrast/_colors-hc.scss
+++ b/
gtk/theme/HighContrast/_colors-hc.scss
@@
-22,3
+22,5
@@
$focus_border_color: if($variant == 'light', transparentize($selected_bg_color,
$alt_focus_border_color: if($variant == 'light', white, transparentize(white,0.4));
$dim_label_opacity: 0.9;
+
+$switch_borders_color: if($variant == 'light',darken($switch_bg_color,15%),lighten($switch_bg_color,15%));